home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / python2.4 / test / test_crypt.py < prev    next >
Text File  |  2005-10-18  |  227b  |  12 lines

  1. #! /usr/bin/env python
  2. """Simple test script for cryptmodule.c
  3.    Roger E. Masse
  4. """
  5.  
  6. from test.test_support import verify, verbose
  7. import crypt
  8.  
  9. c = crypt.crypt('mypassword', 'ab')
  10. if verbose:
  11.     print 'Test encryption: ', c
  12.